home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr31
/
compr16.zip
/
COMPR16.DOC
next >
Wrap
Text File
|
1993-05-11
|
12KB
|
305 lines
-----------------------------------------------------------------
compr16.zip - last modified Sat Aug 26 15:43:49 1989 PDT
-----------------------------------------------------------------
V1.6 contents: xt.com - fr.com - vw.com - mr.com - compr16.doc
Differences from version 1.5 are barred - Mark B. Foster
-----------------------------------------------------------------
Introduction.
-----------------------------------------------------------------
This archive contains four extremely fast utilities that simplify
the routine chores of extracting from, freshening, and viewing
file lists in compressed files:
xt - extractor for zip, lzh, pak, arc, zoo, dwc, md, lzs
files
fr - freshener for zip, lzh, pak, arc, zoo, dwc, lzs files
vw - file lister for zip, lzh, pak, arc, zoo, dwc, md, lzs
files
| mr - pipe for use with vw
The utilities were assembled using a86 v3.21. Special thanks to
Eric Isaacson for suggestions on optimizing the code.
-----------------------------------------------------------------
Program syntax.
-----------------------------------------------------------------
Xt usage: xt [-o -u] archive [filename{s}]
-o overwrite existing output files
-u unlink (delete) archive(s) after file extraction
-----------------------------------------------------------------
Fr usage: fr [-c -s] archive [filename{s}]
| -c set pak v2.x to use Crush for true-pak files
| set pkzip v0.92 to use Shrink
| -s set pkzip v1.01 to use Shrink
| set pak to use Squash for arc-format files
| The 'c' switch may be set as the default by changing the byte at
| debug offset :0279 from 00 to ff. The 's' switch may be set as
| the default by changing the byte at offset :0280 from 00 to ff.
-----------------------------------------------------------------
Vw usage: vw archive [filename{s}]
-----------------------------------------------------------------
| Mr usage: [cmd seq |] mr [filename]
| The phrase 'cmd seq' signifies a command sequence of the form
| 'vw *.zip' or 'vw new.pak'
-----------------------------------------------------------------
General notes for xt, fr, vw.
-----------------------------------------------------------------
Archive extensions need not be specified.
DOS wildcards and pathnames are supported.
The '/' switch character may be used instead of '-'.
Only one switch may be set at a time.
The compression programs must be located on the path.
Xt, fr, and vw return a nonzero errorlevel if an they encounter an
error during execution.
A cryptic usage message may be viewed by entering 'xt', 'fr', or
'vw' with no parameters at the DOS prompt.
| The version id and usage message may be viewed with the command
| 'type n' (where 'n' is the utility name) at the DOS prompt.
-----------------------------------------------------------------
Specific notes for xt, fr, vw.
-----------------------------------------------------------------
Each of the tables in this section lists the programs supported by
the utilities and the switches passed to them. A dot ('.')
indicates no arguments. Blanks denote that an option is not used.
-----------------------------------------------------------------
Pkzip/unzip notes.
| For pkzip.exe v1.01, fr defaults to Implode; the 's' switch sets
| pkzip to use Shrink instead.
| For pkzip.exe v0.92, fr defaults to Reduce4; the 'c' switch sets
| pkzip to use Shrink instead.
+-------+------+----+-------+------+-------+-------+----+
| pgm | vers | xt | xt -o | fr | fr -c | fr -s | vw |
+-------+------+----+-------+------+-------+-------+----+
| | 1.01 | | | | | -fes | |
| pkzip |------| | | -fex |-------|-------| |
| | 0.92 | | | | -f | | |
+-------+------+----+-------+------+-------+-------+----+
|pkunzip| both | . | -o | | | | -v |
+-------+------+----+-------+------+-------+-------+----+
-----------------------------------------------------------------
Pak notes.
With true-pak files, fr sets pak.exe to use Distill by default.
The command 'fr -c' sets pak to use Crush instead.
+-------+------+----+-------+----+-------+----+
| pgm | vers | xt | xt -o | fr | fr -c | vw |
+-------+------+----+-------+----+-------+----+
| pak | 2.10 | e | e /wa | f | f /cr | v |
+-------+------+----+-------+----+-------+----+
-----------------------------------------------------------------
Arc-format notes.
| Xt and vw look first for pak.exe, then for pkxarc.exe if pak is
| not found; fr looks first for pak, then for pkarc.exe.
| If pak is used for arc-format files, fr sets pak to use Crunch
| by default. The command 'fr -s' sets pak to use Squash instead.
The utilities are compatible with arc-format files created using
pre-Crunch compression methods.
Pkpak.exe and pkunpak.exe can be used by renaming them pkarc.exe
and pkxarc.exe respectively.
+-------+------+----+-------+------+-------+----+
| pgm | vers | xt | xt -o | fr | fr -s | vw |
+-------+------+----+-------+------+-------+----+
| pak | 2.10 | e | e /wa | f /c | f /s | v |
+-------+------+----+-------+------+-------+----+
| pkarc | 3.6 | | | -f | | |
+-------+------+----+-------+------+-------+----+
|pkxarc | 3.6 | . | -r | | |-vv |
+-------+------+----+-------+------+-------+----+
-----------------------------------------------------------------
Lharc and larc notes.
| The utilities now parse all lzh files correctly.
| The utilities now support lzs files.
| Xt and vw look first for larc.exe, then for lharc.exe if larc is
| not found. Because larc and lharc use different compression
| methods, fr looks only for larc.
+-------+------+------+-------+----+----+
| pgm | vers | xt | xt -o | fr | vw |
+-------+------+------+-------+----+----+
| lharc |1.13c | e /c | e /cm | f | l |
+-------+------+------+-------+----+----+
| larc | 3.3 | e /c |e /c/o | f | l |
+-------+------+------+-------+----+----+
-----------------------------------------------------------------
Zoo and looz notes.
| Xt and vw look first for zoo.exe, then for looz.exe if zoo is
| not found.
Fr first directs zoo to freshen an archive, then to pack it.
The utilities also operate upon bak archives created by zoo.
+-------+------+----+-------+------+----+
| pgm | vers | xt | xt -o | fr | vw |
+-------+------+----+-------+------+----+
| zoo | 2.01 | x | xSO | auP: | l |
+-------+------+----+-------+------+----+
| looz | 2.1 | x | | | l |
+-------+------+----+-------+------+----+
-----------------------------------------------------------------
Dwc and mdcd notes.
+-------+------+----+-------+----+----+
| pgm | vers | xt | xt -o | fr | vw |
+-------+------+----+-------+----+----+
| dwc |a5.01 | e | ew | fz | v |
+-------+------+----+-------+----+----+
| mdcd | 1.0 | d | r | | l |
+-------+------+----+-------+----+----+
-----------------------------------------------------------------
Specific notes for mr.
-----------------------------------------------------------------
| Two versions of mr are included: mr_n.com (for use with the
| device driver nansi.sys), and mr_a.com (for use with ansi.sys).
| Mr_n fully exploits nansi's blazingly fast screen control, and
| is highly recommended. Nansi.sys is readily available on many
| BBSs.
| The following discussion assumes one of the two versions has
| been selected and renamed 'mr.com'.
| Mr is a pipe similar to, but far superior to, the DOS utility
| 'more'. It is included here for use with vw to pause the
| display when viewing long archive file lists. For example:
| vw * | mr
| vw test.zip | mr
| vw ??.lzh | mr
| Mr may also be used by itself as a simple text-viewing utility.
| For example:
| mr compr16.doc
| Although mr accepts DOS pathnames, it does not as yet accept
| wildcards.
| The following commands may be issued at the '--More--' prompt:
| 'l' line-by-line scroll
| 'h' half-screen scroll (13 lines)
| 'f' full-screen scroll (24 lines)
| 'k' keep screen and quit
| 'c' clear screen and quit
| 'm' menu choices
| If 'mr' is entered without arguments, the computer will appear
| to hang. Pressing f6 or ctrl-z terminates mr and exits to DOS.
| The mr version id and usage message may be viewed with the
| command 'type mr.com' at the DOS prompt.
-----------------------------------------------------------------
Utility history.
-----------------------------------------------------------------
xt10 07-05-89 Initial release of xt.com.
-----------------------------------------------------------------
compr11 07-11-89 Initial release of fr.com and vw.com.
Fixed parsing of Squashed true pak files.
Added archiver version and switch table to dox.
-----------------------------------------------------------------
compr12 07-20-89 Added support for pkpak/unpak v3.61.
Added fr 'c' and 's' switches.
Changed fr pkzip v0.92 default to Reduce4.
-----------------------------------------------------------------
compr13 07-27-89 Modified error handling and display.
Fixed parsing of Packed arc-format files.
-----------------------------------------------------------------
compr14 08-02-89 Added support for pak v2.x and Distill.
Removed support for pkpak/unpak and tau.
Added version id.
Changed fr true-pak pak default to Distill for
v2.x.
Added fr 'C' switch.
Adjusted fr zoo and looz precedence.
-----------------------------------------------------------------
compr15 08-12-89 Added support for pkzip/unzip v1.01 and
Implode.
Added support for all pre-Crunch arc formats.
Changed fr pkzip default to Implode for v1.01.
Made fr pak v2.x default user-configurable.
Added fr 'S' switch.
Made fr switch letters user-configurable.
Adjusted fr arc-format pak and pkarc/xarc
precedence.
Optimized utilities for a86 v3.21 assembler.
-----------------------------------------------------------------
compr16 08-26-89 Initial release of mr.com.
Added support for larc v3.3.
Concatenated usage message to version id.
Fixed parsing of lzh files.
Made fr pkzip defaults user-configurable.
Changed fr arc-format pak default to Crunch.
Merged fr switch letters and operation.
Removed fr switch letter configurability.
Reversed fr arc-format pak and pkarc/xarc
precedence.
Adjusted fr zoo and looz precedence.
Added history section to dox.
-----------------------------------------------------------------
Miscellaneous.
-----------------------------------------------------------------
If you have renamed any of the supported compression programs or
want to rename these utilities, I would be happy to recode them
for you with the new names and upload them.
Feel free to contact me with suggestions or problems. I receive
email at the following places.
College Corner: 206/643-0804
Signpost: 206/547-0167
CompuServe (ibmpro): 72261,2531
Although xt, fr, vw, and mr have been extensively tested, and all
known bugs have been squashed, I make no warranty that the
programs will do anything right. Any and all risk of using them
is yours alone.